home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Online / Apache / conf / httpd.conf < prev    next >
Text File  |  1997-12-10  |  6KB  |  189 lines

  1. # This is the main server configuration file. See URL http://www.apache.org/
  2. # for instructions.
  3.  
  4. # Do NOT simply read the instructions in here without understanding
  5. # what they do, if you are unsure consult the online docs. You have been
  6. # warned.
  7.  
  8. # Originally by Rob McCool
  9.  
  10. # ServerType is either inetd, or standalone.
  11.  
  12. ServerType standalone
  13.  
  14. # If you are running from inetd, go to "ServerAdmin".
  15.  
  16. # Port: The port the standalone listens to. For ports < 1023, you will
  17. # need httpd to be run as root initially.
  18.  
  19. Port 80
  20.  
  21. # HostnameLookups: Log the names of clients or just their IP numbers
  22. #   e.g.   www.apache.org (on) or 204.62.129.132 (off)
  23. # The default is off because it'd be overall better for the net if people
  24. # had to knowingly turn this feature on.
  25.  
  26. HostnameLookups off
  27.  
  28. # If you wish httpd to run as a different user or group, you must run
  29. # httpd as root initially and it will switch.
  30.  
  31. # User/Group: The name (or #number) of the user/group to run httpd as.
  32. #  On SCO (ODT 3) use User nouser and Group nogroup
  33. #  On HPUX you may not be able to use shared memory as nobody, and the
  34. #  suggested workaround is to create a user www and use that user.
  35.  
  36. User http
  37. Group #45
  38.  
  39. # ServerAdmin: Your address, where problems with the server should be
  40. # e-mailed.
  41.  
  42. ServerAdmin webmaster@the.amigaserver.here
  43.  
  44. # ServerRoot: The directory the server's config, error, and log files
  45. # are kept in
  46.  
  47. ServerRoot apache:
  48.  
  49. # BindAddress: You can support virtual hosts with this option. This option
  50. # is used to tell the server which IP address to listen to. It can either
  51. # contain "*", an IP address, or a fully qualified Internet domain name.
  52. # See also the VirtualHost directive.
  53.  
  54. #BindAddress *
  55.  
  56. # ErrorLog: The location of the error log file. If this does not start
  57. # with /, ServerRoot is prepended to it.
  58.  
  59. ErrorLog logs/error_log
  60.  
  61. # TransferLog: The location of the transfer log file. If this does not
  62. # start with /, ServerRoot is prepended to it.
  63.  
  64. TransferLog logs/access_log
  65.  
  66. ScriptLog   logs/cgi_log
  67.  
  68.  
  69. # PidFile: The file the server should log its pid to
  70. PidFile logs/httpd.pid
  71.  
  72. # ScoreBoardFile: File used to store internal server process information.
  73. # Not all architectures require this.  But if yours does (you'll know because
  74. # this file is created when you run Apache) then you *must* ensure that
  75. # no two invocations of Apache share the same scoreboard file.
  76. ScoreBoardFile logs/apache_status
  77.  
  78. # ServerName allows you to set a host name which is sent back to clients for
  79. # your server if it's different than the one the program would get (i.e. use
  80. # "www" instead of the host's real name).
  81. #
  82. # Note: You cannot just invent host names and hope they work. The name you
  83. # define here must be a valid DNS name for your host. If you don't understand
  84. # this, ask your network administrator.
  85.  
  86. #ServerName new.host.name
  87. ServerName the.amigaserver.here
  88.  
  89. # CacheNegotiatedDocs: By default, Apache sends Pragma: no-cache with each
  90. # document that was negotiated on the basis of content. This asks proxy
  91. # servers not to cache the document. Uncommenting the following line disables
  92. # this behavior, and proxies will be allowed to cache the documents.
  93.  
  94. CacheNegotiatedDocs
  95.  
  96. # Timeout: The number of seconds before receives and sends time out
  97.  
  98. Timeout 300
  99.  
  100. # KeepAlive: Whether or not to allow persistent connections (more than
  101. # one request per connection). Set to "Off" to deactivate.
  102.  
  103. KeepAlive On
  104.  
  105. # MaxKeepAliveRequests: The maximum number of requests to allow
  106. # during a persistent connection. Set to 0 to allow an unlimited amount.
  107. # We reccomend you leave this number high, for maximum performance.
  108.  
  109. MaxKeepAliveRequests 100
  110.  
  111. # KeepAliveTimeout: Number of seconds to wait for the next request
  112.  
  113. KeepAliveTimeout 15
  114.  
  115. # Server-pool size regulation.    Rather than making you guess how many
  116. # server processes you need, Apache dynamically adapts to the load it
  117. # sees --- that is, it tries to maintain enough server processes to
  118. # handle the current load, plus a few spare servers to handle transient
  119. # load spikes (e.g., multiple simultaneous requests from a single
  120. # Netscape browser).
  121.  
  122. # It does this by periodically checking how many servers are waiting
  123. # for a request.  If there are fewer than MinSpareServers, it creates
  124. # a new spare.    If there are more than MaxSpareServers, some of the
  125. # spares die off.  These values are probably OK for most sites ---
  126.  
  127. MinSpareServers 5
  128. MaxSpareServers 10
  129.  
  130. # Number of servers to start --- should be a reasonable ballpark figure.
  131.  
  132. StartServers 5
  133.  
  134. # Limit on total number of servers running, i.e., limit on the number
  135. # of clients who can simultaneously connect --- if this limit is ever
  136. # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
  137. # It is intended mainly as a brake to keep a runaway server from taking
  138. # Unix with it as it spirals down...
  139.  
  140. MaxClients 150
  141.  
  142. # MaxRequestsPerChild: the number of requests each child process is
  143. #  allowed to process before the child dies.
  144. #  The child will exit so as to avoid problems after prolonged use when
  145. #  Apache (and maybe the libraries it uses) leak.  On most systems, this
  146. #  isn't really needed, but a few (such as Solaris) do have notable leaks
  147. #  in the libraries.
  148.  
  149. MaxRequestsPerChild 30
  150.  
  151. # Proxy Server directives. Uncomment the following line to
  152. # enable the proxy server:
  153.  
  154. #ProxyRequests On
  155.  
  156. # To enable the cache as well, edit and uncomment the following lines:
  157.  
  158. #CacheRoot @@ServerRoot@@/proxy
  159. #CacheSize 5
  160. #CacheGcInterval 4
  161. #CacheMaxExpire 24
  162. #CacheLastModifiedFactor 0.1
  163. #CacheDefaultExpire 1
  164. #NoCache a_domain.com another_domain.edu joes.garage_sale.com
  165.  
  166. # Listen: Allows you to bind Apache to specific IP addresses and/or
  167. # ports, in addition to the default. See also the VirtualHost command
  168.  
  169. #Listen 3000
  170. #Listen 12.34.56.78:80
  171.  
  172. # VirtualHost: Allows the daemon to respond to requests for more than one
  173. # server address, if your server machine is configured to accept IP packets
  174. # for multiple addresses. This can be accomplished with the ifconfig
  175. # alias flag, or through kernel patches like VIF.
  176.  
  177. # Any httpd.conf or srm.conf directive may go into a VirtualHost command.
  178. # See alto the BindAddress entry.
  179.  
  180. #<VirtualHost host.some_domain.com>
  181. #ServerAdmin webmaster@host.some_domain.com
  182. #DocumentRoot /www/docs/host.some_domain.com
  183. #ServerName host.some_domain.com
  184. #ErrorLog logs/host.some_domain.com-error_log
  185. #TransferLog logs/host.some_domain.com-access_log
  186. #</VirtualHost>
  187.  
  188. LockFile t:apache.lock
  189.